Bookly\Lib\Slots\Finder D

Total Complexity 164
Dependencies 28
Dependents 2
Total lines 918
Lines of code 581
Logical lines of code 297
Comment lines 217
Methods 23
Properties 21

Methods 23

Method Rating Maintainability Complexity Lines of code
_prepareStaffData()
D
21
38 211
_generate()
C
33 29 89
load()
B
41 18 56
handleCartBookings()
A
44 13 42
_prepareServiceSchedule()
A
49 12 29
_prepareDates()
A
46 11 37
__construct()
A
50 10 26
getMonthDisabledDays()
S
52 7 22
getSelectedDateForCalendar()
S
56 6 20
_groupDefault()
S
72 3 5
_stopDayPerColumn()
S
79 2 3
_stopDefault()
S
79 2 3
_breakDefault()
S
77 2 3
_breakOneSlot()
S
77 2 3
_stopCalendar()
S
80 1 3
prepare()
S
75 1 5
_stopOneSlot()
S
81 1 3
setLastFetchedSlot()
S
72 1 5
setSelectedDate()
S
77 1 4
getSelectedDate()
S
82 1 3
getSlots()
S
82 1 3
hasMoreSlots()
S
82 1 3
isServiceDurationInDays()
S
80 1 3